<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Rag Hu
 * Created Time: 2019/8/28 16:18
 * Modified Time: 2019/8/28 16:18
 * Version: 2.0
 */

namespace App\Modules\Activity\Validators;


class ActivityControllerValidator
{
    public static function validator()
    {
        return [
            'getActivity' => [
                'activity_id' => [
                    'title' => '公告id',
                    'rule' => 'required',
                    'message' => []
                ]
            ],
            'createActivity' => [
                'expire' => [
                    'title' => '过期时间',
                    'rule' => 'required|date',
                    'message' => []
                ]
            ],
            'delActivity' => [
                'activity_id' => [
                    'title' => '公告id',
                    'rule' => 'required',
                    'message' => []
                ]
            ],
            'getActivityListPage' => [
                'store_id' => [
                    'title' => '店铺id',
                    'rule' => 'required',
                    'message' => []
                ]
            ],
            'getActivityListPageWx' => [
                'store_id' => [
                    'title' => '店铺id',
                    'rule' => 'required',
                    'message' => []
                ]
            ],
        ];
    }
}